//
//  ShowModel.swift
//  TwitterSearchDemo
//
//  Created by lanou on 16/1/9.
//  Copyright © 2016年 lanou. All rights reserved.
//

import UIKit

class ShowModel: NSObject {

    var text: String?
    var name: String?
    var profile_image_url_https: String?
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        if key == "user"
        {
            let dic = value! as! NSDictionary
            self.name = dic["screen_name"] as? String
            self.profile_image_url_https = dic["profile_image_url_https"] as? String
        }
    }
}
